#import <UIKit/UIKit.h>


extern CGFloat const kFWListViewDotSize;
extern CGFloat const kFWListViewMarkerSpace;
extern CGFloat const kFWListViewMarkerSize;
extern CGFloat const kFWListViewDetailMargin;
extern CGFloat const kFWListViewSeparatorSize;
extern CGFloat const kFWListViewMarkerInset;


@class LITableView;
@class FWDotView;
@class FWIconDotView;
@class FWRoundedLabel;


@interface FWListView : UIView
{
    BOOL singleLine;
    BOOL expandSingleLine;
    LILabel* summaryText;
    LILabel* detailText;
}


@property (retain) FWDotView* dot;
@property (nonatomic, retain) LILabel* summaryText;
@property (nonatomic, retain) LILabel* detailText;
@property (nonatomic, retain) NSString* detailTextAlternate;
@property (retain) FWRoundedLabel* highlightText;
@property (retain) NSArray* flags;

@property (assign) BOOL singleLine;
@property (assign) BOOL expandSingleLine;


- (id)initWithFrame:(CGRect)frame table:(LITableView *)table;
- (void)dealloc;

+ (CGFloat)heightOfSummaryRowWithFont:(UIFont*)font withFollowingRow:(BOOL)following;
+ (CGFloat)heightOfDetailRowWithFont:(UIFont*)font;

@end
